﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Xml.Linq;

namespace x.paypal.model
{
    public interface IPayRequest
    {
        IPayRequest CreateRequest();
        IPayRequest ReceiverList(IList<Receiver> receiverList);
        IPayRequest Currency(string currency);
        IPayRequest WithClientDetails();
        IPayRequest WithReturnUri(Uri returnUri);
        IPayRequest WithCancelUri(Uri cancelUri);
        IPayRequest WithIPNUri(Uri ipnUri);
        IPayRequest WithPaymentReference(string paymentReference);
        XElement AsXML { get; }
        string PaymentReference { get; }
    }
}
